
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>FastPHP v1.0.7 安装程序</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="keywords" content="FastPHP后台管理中心" />
		<meta name="description" content="FastPHP后台管理中心" />
		<meta name="author" content="傅碧林" />
		<meta name="copyright" content="傅碧林版权所有" />
		<!-- App favicon -->
		<link rel="shortcut icon" href="__ADMIN_STATIC__/images/favicon.ico">
		<!-- App css -->
		<link href="__ADMIN_STATIC__/css/icons.min.css" rel="stylesheet" type="text/css" />
		<link href="__ADMIN_STATIC__/css/app.min.css" rel="stylesheet" type="text/css" />
		<link href="__ADMIN_STATIC__/css/default.css" rel="stylesheet" type="text/css" />
		<script src="__ADMIN_STATIC__/js/jquery-1.10.1.min.js" type="text/javascript"></script>
    </head>
    <body class="authentication-bg"  bind-root="{$BindRoot}">
        <div class="account-pages mt-5 mb-5">
            <div class="container">
                <div class="row justify-content-center">
                    <div class="col-lg-5">
                        <div class="card">
                            <!-- Logo-->
                            <div class="card-header text-center bg-primary">
                                <a href="index.html">
                                    <span><img src="__ADMIN_STATIC__/images/logo.png" alt="" height="40"></span>
                                </a>
                            </div>
                            <div class="card-body">
                                <div class="text-center w-75 m-auto">
                                    <h4 class="text-dark-50 text-center mt-0 font-weight-bold">FastPHP v1.0.7安装程序</h4>
                                    <p class="text-muted">请在以下表单中输入正确数据库账户信息!</p>
                                    <p class="text-danger">警告：如果以前的数据库已经存在,请操作前手动备份，否则以前的数据库将被清空!</p>
                                </div>
                                <form action="#" method="post" id="install_frm">
                                    <div class="form-group">
                                        <label for="fullname">数据库服务器地址：</label>
                                        <input class="form-control ipt_check" type="text" id="hostname" name="hostname" placeholder="127.0.0.1" value="127.0.0.1" data-type="string" data-len="7-15" nullmsg="数据库服务器地址不能为空" errormsg="数据库服务器地址长度为7-15">
                                    </div>
                                    <div class="form-group">
                                        <label for="emailaddress">数据库名称：</label>
                                        <input class="form-control ipt_check" type="text" id="database" name="database" placeholder="数据库不存在系统自动创建" value="fastphp"  data-type="string" data-len="1-32" nullmsg="数据库名称不能为空" errormsg="数据库名称长度为1-32">
                                    </div>
                                    <div class="form-group">
                                        <label for="password">数据库用户名:</label>
                                        <input class="form-control ipt_check" type="text" id="username" name="username" placeholder="请输入数据库用户名" value="root" data-type="string" data-len="3-32" nullmsg="数据库用户名不能为空" errormsg="数据库用户名长度为3-32">
                                    </div>
                                    <div class="form-group">
                                        <label for="password">数据库密码:</label>
                                        <input class="form-control" type="text" id="password" name="password" placeholder="请输入数据库密码" value="root">
                                    </div>
                                    <div class="form-group">
                                        <label for="password">admin-超级管理员初始密码:</label>
                                        <input class="form-control ipt_check" type="text" id="adminpassword" name="adminpassword" placeholder="请输入超级管理员密码" data-type="string" data-len="6-16" nullmsg="超级管理员初始密码不能为空" errormsg="超级管理员初始密码长度为6-16" value="admin888">
                                    </div>									
                                    <div class="form-group mb-0 text-center">
                                        <button class="btn btn-primary post_btn" type="button"  attr-frm="#install_frm" attr-callback="{:url('index/index')}" attr-model="install" attr-active="install_do">立即安装</button>
                                    </div>
                                </form>
                            </div> <!-- end card-body -->
                        </div>
                        <!-- end card -->
                    </div> <!-- end col -->
                </div>
                <!-- end row -->
            </div>
            <!-- end container -->
        </div>
        <!-- end page -->
		<footer class="footer footer-alt">
			FastPHP v1.0.7 后台管理中心
		</footer>
        <!-- App js -->
		<script src="__ADMIN_STATIC__/js/app.min.js"></script>
		<script src="__PLUGIN__/layer/layer.js"></script>
		<script src="__PLUGIN__/layer/extend/layer.ext.js"></script>
		<script src="__ADMIN_STATIC__/js/common.js"></script>
		<script src="__ADMIN_STATIC__/js/admin.js" type="text/javascript"></script>		
		<script src="__ADMIN_STATIC__/js/install.js" type="text/javascript"></script>		
    </body>
</html>
